
//- This source code is licensed under the terms of the
//- GNU Affero General Public License found in the LICENSE file in
//- the root directory of this source tree.
//-
//- Copyright (c) 2021-present Kaleidos INC

tg-lightbox-close

.content(ng-switch="key")
    .private-space(ng-switch-when="private-space")
        img(
            src="#{v}/svg/icons/project-limit.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="private-members")
        img(
            src="#{v}/svg/icons/block-user.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PROJECT_MEMBERS_DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="private-space-members")
        img(
            src="#{v}/svg/icons/multi-block-project.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE_MEMBERS.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-space")
        img(
            src="#{v}/svg/icons/project-limit.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-members")
        img(
            src="#{v}/svg/icons/block-user.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PROJECT_MEMBERS_DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-space-members")
        img(
            src="#{v}/svg/icons/multi-block-project.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE_MEMBERS.DESC"
            translate-values="{{values}}"
        )

    div.options
        a.button-green(
            translate="COMMON.ACCEPT"
            ng-click="close()"
        )
